Today I will introduce the order of compiling.
First of all, type the command below
$man gcc
Man page is a document collection that includes much manual or software documentation etc..., when you typed finished, you will see a series of explanation.
In this example you will see the gcc explanation then let us find a part of the Description at the front two lines.
As below
When you invoke GCC, it normally does preprocessing, compilation, assembly and linking. The "overall options" allow you to stop this process at an intermediate stage. For example, the -c option says not to run the linker. Then the output consists of object files output by the assembler.
Especially on this "it normally does preprocessing, compilation, assembly and linking.",from this description, we can know the order of compiling.
The orders of compiling are
We will know more detail about these steps with corresponding options with them tomorrow.
continue...